package behavior.TemplateMethod;

/**
 * Created by LYJ on 2016/10/20.
 * AbstractClass
 */
public abstract class AbstractTemplate {
    public void templatMethod(){
    }
    protected abstract void abstractMethod();
    protected void doHookMethod(){}
    protected final void concreteMethod(){
        System.out.println("invoke concreteMethod");
    }
}
